@extends('backend.layouts.page')
@section('content')
    <form class="form-horizontal ajaxForm" action="{{url($baseRoute.'save')}}">
        <div class="form-group">
            <label class="col-xs-3 control-label required">角色</label>
            <div class="col-xs-9">
                @include('backend.widget.role_select',['widget_params'=>['showAll'=>false]])
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label required">用户名</label>
            <div class="col-xs-9">
                <input type="text" class="form-control" value="" placeholder="用户名长度2-20位" autocomplete="off" name="username">
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label required">姓名</label>
            <div class="col-xs-9">
                <input type="text" class="form-control" value="" placeholder="" name="name">
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label required">密码</label>
            <div class="col-xs-9">
                <input type="password" class="form-control" autocomplete="off" value="" placeholder="密码" name="password">
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label required">确认密码</label>
            <div class="col-xs-9">
                <input type="password" class="form-control" autocomplete="off" placeholder="确认新密码"
                       name="password_confirmation">
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-9 col-xs-offset-3">
                <button class="btn btn-primary" type="submit">立即提交</button>
            </div>
        </div>
    </form>
@stop
